find_package(SDL2PP REQUIRED)
find_package(sdl2-gfx CONFIG REQUIRED)

file(
    GLOB_RECURSE TESTBED_SOURCE_FILES
    "${CMAKE_SOURCE_DIR}/src/*.h"
    "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
    "${CMAKE_CURRENT_SOURCE_DIR}/*.h"
)
add_executable(
    testbed
    ${TESTBED_SOURCE_FILES}
)
target_compile_features(
    testbed PRIVATE 
    cxx_std_14
)
target_include_directories(
    testbed PRIVATE
    ${CMAKE_SOURCE_DIR}/src/
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${SDL2PP_INCLUDE_DIRS}
)
target_link_libraries(
    testbed
    PRIVATE
    ${SDL2PP_LIBRARIES}
    ${SDL2GFX}
)
